Skip to content

Conversation

@alexespencer
Copy link

@alexespencer
Copy link
Author

Looks like a number of changes will be needed, including PyNativeType being behind the py03 feature gil-refs, as well as changes to calls like as_borrowed(). Will try to spend some time researching this (simultaneously new to rust + pyo3) so would appreciate pointers

@bschoenmaeckers
Copy link
Member

Looks like a number of changes will be needed, including PyNativeType being behind the py03 feature gil-refs, as well as changes to calls like as_borrowed(). Will try to spend some time researching this (simultaneously new to rust + pyo3) so would appreciate pointers

Because PyNativeType is not available without the gil-refs feature you should implement all methods for Bound<Self> instead of &Self.

@alexespencer
Copy link
Author

Closing in favour of #431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants